#include "MySprite.h"

MySprite::MySprite(void)
{
}

MySprite::~MySprite(void)
{
}

void MySprite::setData(int data)
{
	this->data = data;
}

int MySprite::getData()
{
	return this->data;
}

void MySprite::setMarked(bool val)
{
	this->marked = val;
}

bool MySprite::getMarked()
{
	return this->marked;
}

void MySprite::addAction(CCActionInterval* action)
{
	actionArray->addObject(action);
}

void MySprite::runMyActions()
{
	this->runAction( CCSequence::actionsWithArray(actionArray));
}

void MySprite::initActionArray()
{
	actionArray = CCArray::array();
	actionArray->retain();
}

	
